package com.qijian.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qijian.system.domain.EvalSafetyTrainUsers;
import org.apache.ibatis.annotations.Select;

/**
 * 安全培训记录详情Mapper接口
 *
 * @author qijian
 * @date 2022-07-19
 */
public interface EvalSafetyTrainUsersMapper extends BaseMapper<EvalSafetyTrainUsers> {

    @Select("select count(0) from eval_safety_train_users WHERE create_time >= CURRENT_DATE ")
    int countCurrentDateWithDel();
}
